/*
 * Decompiled with CFR 0.150.
 * 
 * Could not load the following classes:
 *  com.alibaba.fastjson.JSON
 */
package com.gys.common.business;

import com.alibaba.fastjson.JSON;
import com.gys.common.data.HttpJson;
import com.gys.common.util.ConstUtil;
import com.gys.common.util.HttpClientUtil;
import com.gys.data.invoicing.InvoicingInData;

public class InvoicingUtil {
    public static HttpJson getInvoicingList(InvoicingInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/invoicing/invoicingList", JSON.toJSONString(inData));
    }

    public static HttpJson getSalesReturnList(InvoicingInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/invoicing/salesReturnList", JSON.toJSONString(inData));
    }

    public static HttpJson getDistributeProcurementList(InvoicingInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/invoicing/distributeProcurementList", JSON.toJSONString(inData));
    }

    public static HttpJson getBackStockList(InvoicingInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/invoicing/backStockList", JSON.toJSONString(inData));
    }

    public static HttpJson getIncomeStatementList(InvoicingInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/invoicing/incomeStatementList", JSON.toJSONString(inData));
    }
}

